package com.xcl.service;

import com.xcl.pojo.Article;
import com.xcl.pojo.Result;

import java.util.List;

public interface ArticleService {
    //查询所有数据
    public List<Article> findArticle(Integer categoryId, String state);

    //删除数据
    public Result deleteId(Integer id);

    //添加数据
    public Integer addArticle(Article article);

    //修改数据
    public Integer updateArticle(Article article);
}
